class WordBean:
    def __init__(self,ID,Word,Chinese,Attachment,Part_Of_Speech,WordType,E_Phonetic_Symbol,U_Phonetic_Symbol,E_Audio_File,U_Audio_File):
        self.ID = ID
        self.Word = str(Word).strip()
        self.Chinese = str(Chinese).strip()
        self.Attachment = Attachment
        self.Part_Of_Speech = str(Part_Of_Speech).strip()
        self.WordType = WordType
        self.E_Phonetic_Symbol = E_Phonetic_Symbol
        self.U_Phonetic_Symbol = U_Phonetic_Symbol
        self.E_Audio_File = E_Audio_File
        self.U_Audio_File = U_Audio_File
        self.CurrentScore = None

    def setID(self,ID):
        self.ID =ID
    def getID(self):
        return self.ID
    def setWord(self,Word):
        self.Word =Word
    def getWord(self):
        return self.Word
    def setChinese(self,Chinese):
        self.Chinese =Chinese
    def getChinese(self):
        return self.Chinese
    def setAttachment(self,Attachment):
        self.Attachment =Attachment
    def getAttachment(self):
        return self.Attachment
    def setPart_Of_Speech(self,Part_Of_Speech):
        self.Part_Of_Speech =Part_Of_Speech
    def getPart_Of_Speech(self):
        return self.Part_Of_Speech
    def setWordType(self,WordType):
        self.WordType =WordType
    def getWordType(self):
        return self.WordType
    def setE_Phonetic_Symbol(self,E_Phonetic_Symbol):
        self.E_Phonetic_Symbol =E_Phonetic_Symbol
    def getE_Phonetic_Symbol(self):
        return self.E_Phonetic_Symbol
    def setU_Phonetic_Symbol(self,U_Phonetic_Symbol):
        self.U_Phonetic_Symbol =U_Phonetic_Symbol
    def getU_Phonetic_Symbol(self):
        return self.U_Phonetic_Symbol
    def getE_Audio_File(self):
        return self.E_Audio_File
    def setE_Audio_File(self,E_Audio_File):
        self.E_Audio_File = E_Audio_File
    def getU_Audio_File(self):
        return self.U_Audio_File
    def setU_Audio_File(self,U_Audio_File):
        self.U_Audio_File = U_Audio_File
    def setCurrentScore(self,CurrentScore):
        self.CurrentScore =CurrentScore
    def getCurrentScore(self):
        return self.CurrentScore

    def toString(self):
        print("ID,",self.ID)
        print("word,",self.Word)
        print("Part_Of_Speech,",self.Part_Of_Speech)
        print("Chinese," ,self.Chinese)

# if __name__ == '__main__':
#     student = WordBean()
#     print(student.__dict__)
#     for k in student.__dict__:
#         print("def set_" + k + "(self," + k + "):")
#         print("\tself." + k, "=" + k)
#         print("def get_" + k + "(self):")
#         print("\treturn self." + k)

